<li>
<h2><? __('CATEGORIES_SIDEBOX_TITLE'); ?></h2>
	<? if(!empty($sidebox_categories)) echo '<ul>';?>
	<? foreach ($sidebox_categories as $category): ?>
	<li><? echo $html -> link($category['Category']['name'],'/categories/view/'.$category['Category']['seo_link']); ?>
	 (<? echo count($category['Article']); ?>)</li>
	<? endforeach; ?>
	<? if(!empty($sidebox_categories)) echo '</ul>'; ?>
	<? if(empty($sidebox_categories)) __('CATEGORIES_EMPTY'); ?>
</li>